package service

import (
	"shopstar/service/goods"
	"shopstar/service/member"
	"shopstar/service/order"
	"shopstar/service/system"
)

type Service struct {
	MemberServiceGroup *member.Services
	SystemServiceGroup *system.Services
	GoodsService       *goods.Service
	OrderServiceGroup  *order.Services
}

var Services = &Service{
	MemberServiceGroup: &member.Services{
		MemberService: member.MemeberService,
	},
	SystemServiceGroup: &system.Services{
		AreaService: system.AreaService,
	},
	GoodsService: &goods.Service{
		GoodsService: goods.GoodsService,
		SkuService:   goods.SkuService,
	},
	OrderServiceGroup: &order.Services{
		CartService: order.CartService,
	},
}
